package nl.Viewer.ViewManager.Objects;

import nl.Viewer.ViewManager.Controllers.GenericController;

public class ControllerObject {
   private GenericController controller;
   private boolean           isOtherControllerSynchronized = false;

   public ControllerObject( GenericController controller, boolean isSynchronizedToPairedController ) {
      this.controller = controller;
      this.isOtherControllerSynchronized = isSynchronizedToPairedController;
   }

   public GenericController getController() {
      return controller;
   }

   public boolean isOtherControllerSynchronized() {
      return isOtherControllerSynchronized;
   }

   public void setOtherControllerSynchronized( boolean isOtherControllerSynchronized ) {
      this.isOtherControllerSynchronized = isOtherControllerSynchronized;
   }
}